package CH07.OceanWorld;

/**
 * Created by lenovo on 2016/3/27.
 */
public class Submarine extends Boat implements Diver {
    public Submarine(String name) {
        super(name);
    }

    @Override
    public void dive() {
        System.out.printf("潜艇 %s 在潜水%n", name);
    }
}
